<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="/css/user.css">
  <title>
    <%= title %>
  </title>
</head>

<body>
  <div class="header">
    <a href="/">Home</a> / <a href="/users">Users</a> /
    <%= user.id %>
  </div>
  <div class="content">
    <form action="/users?_method=PUT" method="POST">
      <input type="hidden" name="id" value="<%= user.id %>">
      <label for="name">Name:</label>
      <input type="text" name="name" value="<%= user.name %>">
      <br /> <br /> 
      <button type="submit">Update</button>
    </form>
  </div>
</body>

</html>